$.extend({
  Class : function () {
        return function () {
            this.initialize.apply(this, arguments);
        }}
});  	
$.extend(Function.prototype,{
	proxy : function (scope) {
		return $.proxy(this,scope);
		}
});

$.system = {};
$.system.fire = function(data){
	for(key in data){
		$.event.trigger(key,data[key]);
	}
};
$.system.login = function(o){
	var p = {"func":"login","email":o.name,"password":o.pwd};
	$.post("user.s",o.callback);
}